﻿package mortal.game.view.tianDiRank.item
{
    import com.mui.controls.*;
    import mortal.common.global.*;
    import mortal.game.view.common.*;

    public class TianDiPosCell extends GSprite
    {
        protected var _attName:GTextFiled;
        protected var _attTxt:GTextFiled;

        public function TianDiPosCell()
        {
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            this._attName = UIFactory.gTextField("", 0, 0, 100, 20, this, GlobalStyle.textFormatHuang2.setSize(13));
            this._attTxt = UIFactory.gTextField("+5013", 43, 1, 100, 20, this, GlobalStyle.textFormatHuang2.setSize(13));
            var _loc_1:Boolean = false;
            this._attTxt.mouseEnabled = false;
            this._attName.mouseEnabled = _loc_1;
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            super.disposeImpl(param1);
            this._attName = null;
            this._attTxt = null;
            return;
        }// end function

        public function updateInfo(param1:String, param2:int) : void
        {
            this._attName.text = "" + param1;
            this._attTxt.text = "+" + param2;
            return;
        }// end function

    }
}
